package com.elephantgreen.common;

/**
 * This object store details about products in truck
 * 
 * @author ABC
 * 
 */
@SuppressWarnings("serial")
public class TruckStockData extends ElephantgreenCommon {

	private String truckExchangeId;
	private String username;
	private String productCode;
	private String stockDate;
	private String bottles;
	private String emptyBottles;
	private String nosaleBottles;
	private String expiredBottles;
	private String gasoutBottles;
	private String crateCount;
	private String comments;

	/**
	 * Constructor to create a new TruckStockData object.
	 * 
	 * @param truckExchangeId
	 * @param username
	 * @param productCode
	 * @param stockDate
	 * @param bottles
	 * @param emptyBottles
	 * @param nosaleBottles
	 * @param expiredBottles
	 * @param gasoutBottles
	 * @param crateCount
	 * @param comments
	 */
	public TruckStockData(String truckExchangeId, String username,
			String productCode, String stockDate, String bottles,
			String emptyBottles, String nosaleBottles, String expiredBottles,
			String gasoutBottles, String crateCount, String comments) {
		super();
		this.truckExchangeId = truckExchangeId;
		this.username = username;
		this.productCode = productCode;
		this.stockDate = stockDate;
		this.bottles = bottles;
		this.emptyBottles = emptyBottles;
		this.nosaleBottles = nosaleBottles;
		this.expiredBottles = expiredBottles;
		this.gasoutBottles = gasoutBottles;
		this.crateCount = crateCount;
		this.comments = comments;
	}

	@Override
	public String toString() {
		return "TruckStockData [truckExchangeId=" + truckExchangeId
				+ ", username=" + username + ", productCode=" + productCode
				+ ", stockDate=" + stockDate + ", bottles=" + bottles
				+ ", emptyBottles=" + emptyBottles + ", nosaleBottles="
				+ nosaleBottles + ", expiredBottles=" + expiredBottles
				+ ", gasoutBottles=" + gasoutBottles + ", crateCount="
				+ crateCount + ", comments=" + comments + "]";
	}

	public String getTruckExchangeId() {
		return truckExchangeId;
	}

	public void setTruckExchangeId(String truckExchangeId) {
		this.truckExchangeId = truckExchangeId;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getStockDate() {
		return stockDate;
	}

	public void setStockDate(String stockDate) {
		this.stockDate = stockDate;
	}

	public String getBottles() {
		return bottles;
	}

	public void setBottles(String bottles) {
		this.bottles = bottles;
	}

	public String getEmptyBottles() {
		return emptyBottles;
	}

	public void setEmptyBottles(String emptyBottles) {
		this.emptyBottles = emptyBottles;
	}

	public String getNosaleBottles() {
		return nosaleBottles;
	}

	public void setNosaleBottles(String nosaleBottles) {
		this.nosaleBottles = nosaleBottles;
	}

	public String getExpiredBottles() {
		return expiredBottles;
	}

	public void setExpiredBottles(String expiredBottles) {
		this.expiredBottles = expiredBottles;
	}

	public String getGasoutBottles() {
		return gasoutBottles;
	}

	public void setGasoutBottles(String gasoutBottles) {
		this.gasoutBottles = gasoutBottles;
	}

	public String getCrateCount() {
		return crateCount;
	}

	public void setCrateCount(String crateCount) {
		this.crateCount = crateCount;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
